package com.gyh.modules.test;

import java.io.StringWriter;

import org.apache.commons.lang3.StringUtils;
import org.apache.velocity.Template;
import org.apache.velocity.VelocityContext;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.gyh.system.gen.entity.Schemes;
import com.gyh.system.gen.entity.Tables;
import com.gyh.system.gen.service.SchemesService;
import com.gyh.system.gen.service.TablesService;
import com.gyh.system.gen.utils.VelocityUtils;

/**
* @author 作者 gyh:
* @version 创建时间：2018年1月7日 下午7:59:36
* 
*/
public class AppTest1 {

	public static void main(String[] args) {
		ApplicationContext ac = new ClassPathXmlApplicationContext("classpath:spring/spring-context.xml");
		
		SchemesService ss = ac.getBean(SchemesService.class);
		TablesService ts = ac.getBean(TablesService.class);
		Template t = VelocityUtils.getTemplate("template/velocity/mapper.vm");
		VelocityContext ctx = new VelocityContext();
		
		
	}
}
